//package com.csii.activiti.server.config;
//
//import com.alibaba.druid.pool.DruidDataSource;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import javax.sql.DataSource;
//
//@Configuration
//public class TestConfig {
//
//    @Bean
//    public DataSource activitiDataSource() {
//        DruidDataSource druidDataSource = new DruidDataSource();
//        druidDataSource.setUrl("jdbc:mysql://192.168.101.1:3306/workflow?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8");
//        druidDataSource.setDriverClassName("com.mysql.cj.jdbc.Driver");
//        druidDataSource.setPassword("root");
//        druidDataSource.setUsername("root");
//        druidDataSource.setMaxWait(3153600L);
//        druidDataSource.setInitialSize(100);
//        druidDataSource.setMinIdle(100);
//        druidDataSource.setMaxActive(500);
//        return druidDataSource;
//    }
//}
